package com.jin.repository;

import com.jin.model.User;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface UserRepository extends JpaRepository<User,Long> {
     User findByOpenid(String openId);
     User findFirstById(Long uid);
     User findByUnifyUid(Long uuid);

}
